/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-10 17:43:03
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-24 10:53:56
 */
import 'package:flutter/material.dart';

import '../../../constrans.dart';

class BottomBlur extends StatelessWidget {
  const BottomBlur({Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) => Positioned(
        bottom: 0,
        left: 0,
        right: 0,
        child: Container(
          height: 48,
          decoration: BoxDecoration(
            gradient: LinearGradient(
              colors: [
                appBackgroundColor,
                appBackgroundColor.withOpacity(0.5),
                Colors.white.withOpacity(0.2),
              ],
              begin: Alignment.bottomCenter,
              end: Alignment.topCenter,
            ),
          ),
        ),
      );
}
